GET PlanCare2Api/ClientProtocols/Count?clientIds[0]={clientIds[0]}&clientIds[1]={clientIds[1]}&referenceDate={referenceDate}
Retrieve protocol counts per client.
Requires 'Start' permission for function ClientProtocols {B5597D92-76C6-41AC-A2AA-C46E0E6E6D57}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientIds |
The clients for whom to fetch the protocols |
Collection of integer |
Required |
| referenceDate |
Filters protocols valid on given date |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Counter| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id maps to the entity id |
integer |
None |
| Count |
Counts the entity results |
integer |
None |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"Id": 1,
"Count": 2
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfCounter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
<Counter>
<Count>2</Count>
<Id>1</Id>
</Counter>
<Counter>
<Count>2</Count>
<Id>1</Id>
</Counter>
</ArrayOfCounter>